{# The model picker, in the modal: ONE list of the models this install can call, grouped by vendor and searched in one box; the recently used lead it. Kept quiet: teal means exactly one thing, the model in use, and says it once (the check). A search re-requests only the list. #} {% from "components/macros/icons.html" import icon %} {% from "components/macros/chat.html" import model_chip %} {% from "components/macros/layout.html" import avatar, dialog_title %} {# One section's rows: a pick posts the model id with the search, so the dialog re-renders in the same view. #} {% macro rows(section, picker) %}
No models match.
{% endif %} {% for section in picker.sections if section.rows %} {% if section.name %}